<?php
 require_once("../config/index.php");
 require_once('../controllers/adFlag.php');
?>

<!DOCTYPE html>
<html lang="en">
    <head>
        <title></title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link href="<?php echo SERVER_STATICS?>css/bootstrap.min.css" rel="stylesheet">
        <link href="<?php echo SERVER_STATICS?>css/stone.min.css" rel="stylesheet"> 
        <style>
        #otherContent{
            border: 1px solid black;
            width:88%;
            height:800px;
        }
        .nav{
            width:120px;
        }
        .nav a{
            width:100%;
            font-size:20px;
        }
        .loginout{
            position:fixed;
            top:10px;
            right:20px;
            color:skyBlue;
            font-size:16px;
        }
        </style>
    </head>
    <body>
        <div class="container">
            <h1>欢迎来到学生技能展示系统</h1>
            <div class="nav l">
                <details >
                    <summary><a href="adStudents.php" target="otherContent">学生管理</a></summary>
                    <a href="adAddStu.php" target="otherContent">增加学生</a>
                </details>      
                <details >
                    <summary><a href="adCourses.php" target="otherContent">分数管理</a></summary>
                    <a href="adAddCourse.php" target="otherContent">设置分数</a>
                </details>  
                 
            </div>

             <iframe class="l" src="adWelcome.php" id="otherContent" name="otherContent"></iframe>
             <a class="loginout" href="/studentSkill/controllers/controller.php?action=adLoginOut">注销登陆</a>
        </div>
       
    
    </body>
</html>